projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47fd2b1
)
Return the stored vcpus_params if the domain is not running.
author
Ewan Mellor
<ewan@xensource.com>
Thu, 1 Feb 2007 18:14:40 +0000
(18:14 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Thu, 1 Feb 2007 18:14:40 +0000
(18:14 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 35d35ba28a9a3555baeb5e3530d60036da313d7a..ddc240b96b73a80932521eb4c97c9260c33017c2 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-1978,7
+1978,7
@@
class XendDomainInfo:
return 'unknown'
def get_vcpus_params(self):
if self.getDomid() is None:
- return
{}
+ return
self.info['vcpus_params']
retval = xc.sched_credit_domain_get(self.getDomid())
return retval